package com.xiao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
//开启对hystrix熔断机制的支持
@EnableCircuitBreaker
public class NacosClientConsumer {
    public static void main(String[] args) {
        SpringApplication.run(NacosClientConsumer.class,args);
    }


}